We set a margin-bottom on the dash to give it some margin towards the
monitor edge, we need to factor in this margin when moving it outside of
the monitor for our animation.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2191>
// The Dash rises from the bottom. This is the last animation to finish,
// so run the callback there.
- this.dash.translation_y = this.dash.height;
+ this.dash.translation_y = this.dash.height + this.dash.margin_bottom;
this.dash.ease({
translation_y: 0,
delay: STARTUP_ANIMATION_TIME,